#include "Int_SN65HVD.h"

void Int_SN65HVD_Init(void)
{
    CAN_Filter_Config();
    HAL_CAN_Start(&hcan1);
}

void Int_SN65HVD_SendData(uint16_t stdID, uint8_t *data, uint8_t len)
{
    CAN_SendMsg(stdID, data, len);
}

void Int_SN65HVD_SendData_Ext(uint32_t extID, uint8_t *data, uint8_t len)
{
    CAN_SendMsg_Extended(extID, data, len);
}

void Int_SN65HVD_ReceiveData(RxDataMsg rxDataMsg[], uint8_t *msgCount)
{
    CAN_ReceveMsg(rxDataMsg, msgCount);
}

